/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.kreig133.spine.abstractmodel;

import com.kreig133.spine.interfaces.Algorithm;

/**
 *
 * @author C.C.-fag
 */
public abstract class AbstractAlgorithm implements Algorithm{
    
    abstract public AbstractState calculate(AbstractEnvironment env, AbstractState state);
    
    protected AbstractVelebra velebra;

    public void setVelebra(AbstractVelebra velebra) {
        if(this.velebra==null){
            this.velebra = velebra;
        }
    }

}
